package com.vanrin.aweatherforecast.view;

import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Typeface;
import android.util.AttributeSet;
import android.widget.TextView;

public class HelTextView extends TextView {

    Typeface helTypeFace = null;
    
    public HelTextView(Context context, AttributeSet attrs) {
        super(context, attrs);
        helTypeFace = Typeface.createFromAsset(context.getAssets(), "fonts/HelveticaNeueLTPro-Th.ttf");
    }
    
    protected void onDraw(Canvas canvas){
        setTypeface(helTypeFace);
        this.setTextColor(Color.WHITE);
        super.onDraw(canvas);
    }

}
